
//----------------------------------------------------------------
// Copyright (C) 2009 上海EZCRS
// 版权所有。 
// All rights reserved.

// 文件名：IMsgTaskDAO.cs
// 文件功能描述：消息任务
// 
// 
// 创建标识： kevin  2009-6-5 14:50:34
//
// 修改标识：
// 修改描述：
//----------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using Strive.Interface.IDataAccessBase.DAO;
using Strive.DataAccess.Base.Model.PageObject;
using System.Collections;
using Strive.Aspects;
using Strive.Util.Text;
using Strive.Util.Logging;
using Strive.Core.Validations;
using Strive.Core.Service;
using Strive.Core.Translators;
using Strive.Util.Maths;
using Strive.Reflection;
using OTA.Notification.Entity.Task;
using OTA.Notification.Interface.IDAO;
using Strive.DataAccess.Base.Model.SearcherObject;

namespace OTA.Notification.Interface.IDAO.Task
{

	/// <summary>
    /// 消息任务表
	/// [IMsgTask]的IDao接口
    /// </summary>
    public interface IMsgTaskDao : IBaseDAOBean<int,MsgTaskBean>
    {
        /// <summary>
        /// 批量删除实体
        /// </summary>
        /// <param name="list">MsgTaskBean集合</param>
        /// <returns>删除数目</returns>
		int DataDelete(IList<MsgTaskBean> list);
		/// <summary>
        /// 根据主键删除实体
        /// </summary>
        /// <param name="key">主键</param>
        /// <returns>删除数目</returns>
		int DataDelete(int key);
		/// <summary>
        /// 批量插入实体
        /// </summary>
        /// <param name="obj">MsgTaskBean集合</param>
        /// <returns>影响行数</returns>
		int DataInsert(IList<MsgTaskBean> list);
		/// <summary>
        /// 批量更新实体
        /// </summary>
        /// <param name="obj">MsgTaskBean集合</param>
        /// <returns>更新数目</returns>
		int DataUpdate(IList<MsgTaskBean> list);
		/// <summary>
        /// 分页查询
        /// </summary>
        /// <param name="pageObject">分页对象</param>
        /// <returns>集合</returns>
		/// <remarks>测试百万级数据在10秒内,比MSSQL2005分页性能要高</remarks>
		PageResult<MsgTaskBean> SelectPageList(BasePageSearch pageObject);
	
	}

}

 